package top.chmin.project.cloud.common.config.auto;

// field import auto
// #bind.field.uiPath#

import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.RestController;
import top.chmin.project.cloud.common.entity.Page;

import java.util.List;

/**
 * chmin
 * 2023-12-27 14:44:36
 * cloud-builder
 */
@RestController
public class ConfigController implements
// entity selectInterface auto
        ConfigConfigCodeSelect,
// entity searchInterface auto
        ConfigSave,
        ConfigUpdateById,
        ConfigDeleteById,
        ConfigSelectById,
        ConfigSelectPage {

    @Resource
    ConfigService service;

    @Override
    public int save(ConfigSave.Param param) {
        return service.save(param);
    }

    @Override
    public int updateById(ConfigUpdateById.Param param) {
        return service.updateById(param);
    }

    @Override
    public int deleteById(ConfigDeleteById.Param param) {
        return service.deleteById(param);
    }

    @Override
    public ConfigSelectById.Result selectById(ConfigSelectById.Param param) {
        return service.selectById(param);
    }

    @Override
    public Page<ConfigSelectPage.Result> selectPage(ConfigSelectPage.Param param) {
        return service.selectPage(param);
    }

    // entity select auto
    @Override
    public List<ConfigConfigCodeSelect.Result> selectConfigCode(ConfigConfigCodeSelect.Param param) {
        return service.selectConfigCode(param);
    }


// entity search auto

}
